.article {
  @include has2ColumnPageMainBase;
  position: relative;
  box-sizing: border-box;
  padding: $grid-basic * 1.5;

  @media(max-width: $break-tablet-max) {
    width: 100%;
    margin-left: 0;
  }
}
.mobileMenuArticle {
  @media(min-width: $break-tablet-min) {
    display: none;
  }

  @media(max-width: $break-tablet-max) {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: $grid-basic $grid-basic*2;
    margin-bottom: $grid-basic;
    border: 1px solid #CCC;
    border-radius: 4px;

  }
}

.article-header {
  padding: $grid-basic $grid-basic*1.5;
  background-color: $brand-blue-lite;
  margin-bottom: $grid-basic;

  h1 {
    margin: 0;
    color: $brand-black;
    font-size: 1.5rem;
    font-weight: bold;
  }

  .article-info {
    text-align: right;
  }

  .article-updated {
    font-size: 0.8rem;
    .article-updated-label {
      display: inline-block;
      margin-right: $grid-basic/2;
    }
  }
}

.article-index {
  border: 1px solid $brand-gray;
  background-color: #FFF;
  border-radius: 3px;
  padding: $grid-basic;

  h2 {
    margin: 0 0 $grid-basic/2 0;
    font-size: 1.2rem;
    color: $brand-black;
    border-bottom: none;
    font-weight: bold;
  }

  h3 {
    padding-left: 0px;
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 1rem;
    font-weight: normal;
    border-left: 2px solid #00E3FC;
    line-height: 1.4rem;
  }

  ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 1rem;
    line-height: 1.4rem;
    li {
      margin-top: $grid-basic/2;
    }

  }
}

.article-body {
  color: $brand-black;
  padding-top: 30px;
  font-size: 1.1rem;

  h2 {
    margin-top: $grid-basic * 4;
    margin-bottom: $grid-basic * 2;
    border-bottom: 2px solid $brand-blue;
    font-size: 1.4rem;
    font-weight: bold;
  }

  h3 {
    margin-top: $grid-basic * 4;
    margin-bottom: $grid-basic * 2;
    font-size:1.2rem;
    font-weight: bold;
    border-left: 5px solid $brand-blue;
    padding-left: $grid-basic;
    line-height: 1.4rem;
  }

  h4 {
    margin-top: $grid-basic * 3;
    margin-bottom: $grid-basic;
    padding-bottom: 4px;
    font-size: 1.2rem;
    line-height: 1.5rem;
    font-weight: normal;
    border-bottom: 2px solid #DDD;
    font-weight: bold;
    color: #666;
  }


  h5 {
    font-size: 1.2rem;
    margin: $grid-basic 0;
  }

  p {
    margin: 0 0 $grid-basic 0;
  }

  img {
    border: 1px solid #DDD;
    cursor: pointer;
  }

  .img-icon {
    border: none;
  }

  table {
    table-layout: auto;

    th {
      padding: 5px;
      text-align: left;
      font-weight: bold;
      color: #666;
      border-width: 1px;
    }

    th.sky-blue {
      background-color: #F0F8FF;
    }

    td {
      padding: 5px;
      vertical-align: top;
      border-width: 1px;
    }

    .clickable {
      background: #DFE8F5;
      cursor: pointer;
    }
  }

  .ListTable th {
    font-size: 1.1rem;
    vertical-align: top;
    font-weight: normal;
  }

  ul {
    margin: 10px 0 10px 20px;
  }

  .preWrap { //copyBtn表示のためのwrapper
    position: relative;
  }

  pre {
    margin-top: 0;
    background-color: $brand-black;
    color: #FFF;
    width: 100%;
    overflow-x: auto;
    font-size:12px;
    padding: 8px 10px 8px 48px;
    margin-bottom: 1em;
    font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  }

  .article-row {
    display: flex;
  }

  .article-column-left {
    box-sizing: border-box;
    padding-right: $grid-basic * 2;
    flex: 0 0 60%;
  }

  .article-column-right {
    box-sizing: border-box;
    flex: 0 0 40%;
    overflow: scroll;
  }
}
.article-footer {
  border:none;
}

.share {
  a:before {
    border-radius: 0;
  }
  .share-facebook:hover:before{
    background-color: #3B5998;
  }
  .share-twitter:hover:before{
    background-color: #1DA1F2;
  }
  .share-linkedin:hover:before{
    background-color: #0077B5;
  }
  .share-googleplus:hover:before{
    background-color: #E04A39;
  }
}

.article-attachments {
  display: none;
}

.article-body img {
    height: auto;
}